home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 November / PCWorld_2006-11_cd.bin / domacnost a kancelar / findgraph / fgraph.exe / {app} / TestVC / findgraph.h < prev    next >
C/C++ Source or Header  |  2002-11-20  |  3KB  |  94 lines

  1. // Machine generated IDispatch wrapper class(es) created with ClassWizard
  2. /////////////////////////////////////////////////////////////////////////////
  3. // IFindGraph wrapper class
  4.  
  5. class IFindGraph : public COleDispatchDriver
  6. {
  7. public:
  8.     IFindGraph() {}        // Calls COleDispatchDriver default constructor
  9.     IFindGraph(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  10.     IFindGraph(const IFindGraph& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  11.  
  12. // Attributes
  13. public:
  14.     long GetCurrentDotsId();
  15.     void SetCurrentDotsId(long);
  16.     CString GetAxeXname();
  17.     void SetAxeXname(LPCTSTR);
  18.     CString GetAxeXunit();
  19.     void SetAxeXunit(LPCTSTR);
  20.     double GetAxeXstart();
  21.     void SetAxeXstart(double);
  22.     double GetAxeXscale();
  23.     void SetAxeXscale(double);
  24.     CString GetAxeYname();
  25.     void SetAxeYname(LPCTSTR);
  26.     CString GetAxeYunit();
  27.     void SetAxeYunit(LPCTSTR);
  28.     double GetAxeYstart();
  29.     void SetAxeYstart(double);
  30.     double GetAxeYscale();
  31.     void SetAxeYscale(double);
  32.     CString GetDocTitle();
  33.     void SetDocTitle(LPCTSTR);
  34.     CString GetDocComment();
  35.     void SetDocComment(LPCTSTR);
  36.     long GetDocWidth();
  37.     void SetDocWidth(long);
  38.     long GetDocHeight();
  39.     void SetDocHeight(long);
  40.     BOOL GetVisible();
  41.     void SetVisible(BOOL);
  42.     BOOL GetDocPictIs();
  43.     void SetDocPictIs(BOOL);
  44.     BOOL GetDocPictCentered();
  45.     void SetDocPictCentered(BOOL);
  46.     CString GetDocPictFileName();
  47.     void SetDocPictFileName(LPCTSTR);
  48.     BOOL GetDocPictStretch();
  49.     void SetDocPictStretch(BOOL);
  50.     long GetArrayId();
  51.     void SetArrayId(long);
  52.     VARIANT GetArrayVar();
  53.     void SetArrayVar(const VARIANT&);
  54.  
  55. // Operations
  56. public:
  57.     long DotsNew(short nColor, short nShape, short nWidth, double fAspect, LPCTSTR lpctstrName);
  58.     void DocUpdate();
  59.     void AppInit(short nVisible);
  60.     SCODE DotsAddPoint(long dwId, double fX, double fY, double fZ);
  61.     SCODE DotsColorNumGet(long dwId, short* pnColorNum);
  62.     SCODE DotsColorNumSet(long dwId, short nColorNum);
  63.     SCODE DotsShapeGet(long dwId, short* pnShape);
  64.     SCODE DotsShapeSet(long dwId, short nShape);
  65.     SCODE DotsWidthGet(long dwId, short* pnWidth);
  66.     SCODE DotsWidthSet(long dwId, short nWidth);
  67.     SCODE DotsAspectGet(long dwId, double* pfAspect);
  68.     SCODE DotsAspectSet(long dwId, double fAspect);
  69.     SCODE DotsNameGet(long dwId, BSTR* lptstrName);
  70.     SCODE DotsNameSet(long dwId, LPCTSTR lpctstrName);
  71.     SCODE DotsShowLine(long dwId, short nShow);
  72.     long SelectedGetStart(short nParam);
  73.     long SelectedGetStop(short nParam);
  74.     SCODE SelectedGetDot(double* pfX, double* pfY, double* pfZ);
  75.     long DotsColor(short nColorNum);
  76.     SCODE DotsUpdate(long dwId);
  77.     SCODE DotsAddPoints(long dwId, short nParam, const VARIANT& varray);
  78.     SCODE SelectedGetDots(short nParam, VARIANT* pvar);
  79.     double SelectedGetX(long num);
  80.     double SelectedGetY(long num);
  81.     double SelectedGetZ(long num);
  82.     void AppQuit();
  83.     SCODE OpenDocumentFile(LPCTSTR lpctstr);
  84.     SCODE DotsRemove(long dwId);
  85.     long ClipNewRect(short nColor, double fXstart, double fYstart, double fXend, double fYend);
  86.     SCODE ClipRemove(long dwId);
  87.     long ClipNewRgn(short nColor, const VARIANT& var);
  88.     SCODE ClipNameSet(long dwId, LPCTSTR lpctstrName);
  89.     SCODE ClipSelect(long dwId, short nSelect);
  90.     long DotsFromPict(short nColor, short nWidth, LPCTSTR lpctstrName);
  91.     long ClipNewEmptyRgn(short nColor);
  92.     SCODE ClipNewRgnDot(long dwId, double fX, double fY);
  93. };
  94.